/*
    Document   : admin_style
    Created on : Oct 27, 2012, 8:21:48 PM
    Author     : WIND <ntluan488@gmail.com>
    Description:
        Định dạng trang admin
*/

/*===RESET CSS===*/
html, body, div, span, header, footer, nav, menu, section, article,
aside, dialog, figure, figcaption, details, summary, meter, a, img, p,
dl, dt, dd, ol, ul, li, h1, h2, h3, h4, h5, h6, hgroup, b, strong,
ins, del, mark, i, em, small, sub, sup, dfn, kbd, cite, blockquote,
code, pre, samp, var, embed, object, iframe, form, label, legend,
table, caption, tbody, thead, tfoot, tbody, tr, th, td, time, audio, video {
    background: transparent;
    border: 0;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

body {
    line-height: 1;
    font: 75%/1.5em Helvetica, "Liberation Sans", "Bitstream Vera Sans", sans-serif;
}

nav ul {
    list-style-type: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}
.highlight {
    background-color: #ff6;
    font-weight: bold;
}

mark {
    background-color: #ff9;
    color: #000;
    font-weight: bold;
}

del {
    color: #800;
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: #000 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    border: 0;
    border-top: #ccc 1px solid;
    display: block;
    height: 1px;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}

/* HTML 5 block elements */
article, aside, details, dialog, figure, footer, header, hgroup, nav,
section, summary {
    display: block;
}
/*==END RESET CSS==*/

body{
    font-size: 11px;
    font-family: 'Times New Roman',Georgia,times,serif;
    color: black;
    background: #f4f4f4;
    margin: 10px 10px 10px 10px;
    border-collapse: collapse;

}

#min-width{
    height: 96%;
    min-width: 800px;
    background: #ffffff;
}

/*Global*/
a{
    text-decoration: none;
}

a:link {
	color: #012345;
	text-decoration: none;
	outline: none;
}

a:visited {
	color: #012345;
	text-decoration: none;
	outline: none;
}

a:hover {
	text-decoration: underline;
}

.clr {
	clear: both;
	overflow: hidden;
	height: 0;
}

form label{
    font-size: 15px;
}

td.center, th.center, .center{
  float: none;
  text-align: center;
}

.row0{
    background-color: #fefefe;
}

.row1{
    background-color: lightcyan;
}


/*Header*/
#header{
    background: #f4f4f4 url('../images/header_middle.png') repeat-x;
    height: 90px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid silver;
}

#header .title{
    font-size: 25px;
    font-weight: bold;
    line-height: 60px;
    padding: 0px 0px 0px 15px;
}

#header .title a{
    color: #f4f4f4;
}

#header .logo{
    float: right;
    width: auto;
    display: block;
    padding: 4px 30px 0px 0px;
}

#header .logo a img{
    height: 70px;
    width: 70px;
}

/*Menu*/
#menu-box{
  border: 1px solid #ccc;
  background: #f0f0f0;

}

    /*Menu bar*/
#menubar{


}

#menubar li.separator {
    border-bottom: 1px solid gray;
    margin-left: 20px;
}

#menubar ul{
  position:  relative;
  z-index: 100;
}

#menubar ul li{
  border-left: 1px solid #fff;
	border-right: 1px solid #d8d8d8;
}

#menubar ul li li{
  border: 0;
  display: block;
  float: none;
}



#menubar li {
  list-style: none;
  float: left;
  position: relative;
  display: inline;
}

#menubar ul li a{
  font-family: "Comic Sans MS", cursive;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  color: black;
  background-repeat: no-repeat;
  background-position: left 50%;
  padding: 3.85px 11px 3.85px;
  margin: 0px 1px 0px 1px;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  cursor: default;
  vertical-align: middle;

}

#menubar ul ul{
  position: absolute;
  visibility: hidden;
  border: 1px solid #ccc;
  background: #f0f0f0 url('../images/menu/bg-menu.gif') repeat-y left;
}

#menubar ul ul a{
    font-size: 13px;
    font-weight: bold;
    font-weight: normal;
    padding-left: 25px;
    padding-right: 20px;
    line-height: 15px;
}

#menubar ul ul li.submenu_level_1 {
    background: transparent url('../images/menu/j_arrow.png') no-repeat right 50%;
}

#menubar ul li li ul{
  top: 0;
  left: 0;
}

#menubar ul li:hover ul{
    visibility: visible;
}

/* 1 level - hover */
#menubar ul li:hover a {
	background-color: #dbe4e9;
	border-left: 1px solid #025a8d;
	border-right: 1px solid #025a8d;
	margin: 0;
}

#menubar ul li:hover ul li ul{
  visibility: hidden;
}

#menubar ul li:hover li:hover ul{
  visibility: visible;
  left: 100%;
}
/* 2 level - normal */
#menubar li:hover li a {
	background-color: transparent;
	border: 1px solid transparent;
	margin: 1px;
}
/* 2 level - hover */
#menubar ul li:hover li:hover a {
	background-color: #dbe4e9;
	border-color: silver ;        /*#025a8d*/
}

/* 3 level - normal */
#menubar ul li:hover li:hover li a {
	background-color: transparent;
	border-color: transparent;
}
/* 3 level - hover */
#menubar ul li:hover li:hover li a:hover {
	background-color: #dbe4e9;
	border-color: #025a8d;
}



/*--Menu Icon Style---*/
#menubar .icon-control-panel{
    background-image: url('../images/menu/icon-control-panel.png');
}
#menubar .icon-account-info{
    background-image: url('../images/menu/icon-account-info.png');
}
#menubar .icon-config{
    background-image: url('../images/menu/icon-config.png');
}
#menubar .icon-app-info{
    background-image: url('../images/menu/icon-app-info.png');
}
#menubar .icon-logout{
    background-image: url('../images/menu/icon-logout.png');
}


#menubar .icon-assets{
    background-image: url('../images/menu/icon-assets.png');
}
#menubar .icon-assets-type{
    background-image: url('../images/menu/icon-assets-type.png');
}
#menubar .icon-assets-category{
    background-image: url('../images/menu/icon-assets-category.png');
}
#menubar .icon-assets-status{
    background-image: url('../images/menu/icon-assets-status.png');
}





#menubar .icon-account{
    background-image: url('../images/menu/icon-accounts.png');
}
#menubar .icon-account-active{
    background-image: url('../images/menu/icon-account-active.png');
}


#menubar .icon-export-excel{
    background-image: url('../images/menu/icon-export-excel.png');
}
#menubar .icon-backup-database{
    background-image: url('../images/menu/icon-backup-database.png');
}

#menubar .icon-add{
    background-image: url('../images/menu/icon-add.png');
}

#menubar .icon-search{
    background-image: url('../images/menu/icon-search.png');
}

#menubar .icon-statistics{
    background-image: url('../images/menu/icon-statistics.png');
}

#menubar .icon-home {
    background-image: url('../images/menu/icon-home.png');
}






#statusbar{
    float: right;
    margin: 5px 10px 0px 0px;
    font-size: 12px;

}

#statusbar span{
    margin: 0px 5px 0px 5px;

}

span.logout{
    background: transparent url('../images/menu/icon-logout.png') no-repeat;
    padding: 0px 0px 0px 20px;
}

span.total_users{
    background: transparent url('../images/menu/icon-total-user.png') no-repeat;
    padding: 0px 0px 0px 20px;
}

span.system-time{
    background: transparent url('../images/menu/icon-system-time.png') no-repeat;
    padding: 0px 0px 0px 20px;
}


/*======== Content ======*/
#content{
    border: 1px solid silver;
    border-top: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-bottom: 5px;
    padding: 10px 10px 10px 10px;
    background: white;
}


#main{
    padding: 10px 10px 10px 10px;
    background: #f4f4f4;
    border: 1px solid silver;
    border-radius: 5px;
}

.cpanel{
    float: left;
    width: 80%;
    margin: 0px auto;
}

.cpanel div.icon{
    float: left;
    margin-bottom: 15px;
    margin-right: 15px;
    text-align: center;
}


.cpanel div.icon a{
    background-color: #FFFFFF;
    background-position: -30px center;
    border: 1px solid #CCCCCC;
    border-radius: 5px 5px 5px 5px;
    color: #565656;
    display: block;
    float: left;
    height: 170px;
    text-decoration: none;
    transition-duration: 0.8s;
    transition-property: background-position, -moz-border-radius-bottomleft, -moz-box-shadow;
    vertical-align: middle;
    width: 185px;
}
.cpanel div.icon a:hover, .cpanel div.icon a:focus, .cpanel div.icon a:active {
    background-position: 0 center;
    border-bottom-left-radius: 50% 20px;
    box-shadow: -5px 10px 15px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}

.cpanel div.icon a:hover span{
    text-shadow: 1px 1px 1px grey;
}

.cpanel img {
    margin: 0 auto;
    padding: 5px 0;
}
.cpanel span {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin: 5px 0px 0px 0px;
}



.thongtin table{
    margin: 0px auto;
    border-collapse: collapse;
    width: 60%;
    font-size: 17px;
    font-family: "Comic Sans MS",cursive;
}

.thongtin table td{
    text-align: left;
    padding: 10px 0px 10px 5px;
    border: 1px solid silver;
    line-height: 25px;
}

.thongtin table td.left-col{
    width: 25%;
    text-align: right;
    padding: 0px 5px 0px 0px;
}

.thongtin .tendetai{
    text-align: center;
    background: lightblue;
    height: 30px;
    padding: 10px 0px 0px 0px;
}

.thongtin .tendetai span{
    color: orange;
    font-size: 20px;
    font-weight: bold;
}



/*Login form*/

div#main.login{
    width: 530px;
    margin: 50px auto 100px !important;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid silver;
    background: #68AFFF !important;
    padding-bottom: 20px;
    -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
}

.login h1{
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
    color: #fefefe;
    text-transform: uppercase;
    margin: 5px 0px 5px 5px;
}

.login p{
    color: navy;
    font-weight: bold;
    font-style: italic;
    font-size: 12px;
    margin: 5px 0px 5px 0px;
}

fieldset.loginform{
    margin-bottom: 10px;
    padding: 5px;
    text-align: left;
    width: auto;
    border: 0;
}

#lock{
  width: 128px;
  height: 128px;
  float: left;
  background: transparent url('../images/login/login_lock.png') no-repeat;
  margin: 0px 0px 0px 5px;

}

#login-form{
  border: 1px solid silver;
  float: right;
  margin: 0px 0px 0px 10px;
  width: 350px;
  border-radius: 5px;
  padding: 10px 0px;
}

#login-form label{
    display: block;
    float: left;
    clear: left;
    margin: 5px 5px 15px 0px;

}


#login-form input{
    float: right;
    clear: right;
    width: auto;
    min-width: 180px;
}


#login-form .wbuttons{
    position: relative;
    line-height: 16px;
    vertical-align: middle;
    border: 1px solid #a8a8a8;
    color: #424242;
    margin: 15px 5px 0px 0px;
    min-width: 150px;
    height: 30px;
    font-weight: bold;
    background: #e9e9e9 url('../images/login/login_button.png') no-repeat ;
    border-radius: 5px;
}



/*Control panel Style*/
#cpanel{
    padding: 10px 10px 10px 10px;
    background: #f4f4f4;
}

.icon-wrapper .cpanel-icon{
    float: left;
    margin-bottom: 15px;
    margin-right: 15px;
    text-align: center;
}

.cpanel-icon a{
    background: #ffffff;
    background-position: -30px center;
    border: 1px solid #cccccc;
    border-radius: 5px 5px 5px 5px;
    color: #565656;
    display: block;
    float: left;
    text-decoration: none;
    transition-duration: 1s;
    transition-property: background-position, -moz-border-radius-bottomleft, -moz-box-shadow;
    vertical-align:  middle;
    height: 155px;
    width: 150px;
}

.cpanel-icon img{
    margin: 0 auto;
    padding: 0px 0;
    width: 128px;
    height: 128px;
}

.cpanel-icon span{
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}


.cpanel-icon a:hover, .cpanel-icon a:focus, .cpanel-icon a:active, .cpanel-icon a:hover, .cpanel-icon a:focus, .cpanel-icon a:active {
    background-position: 0 center;
    border-bottom-left-radius: 50% 20px;
    box-shadow: -5px 10px 15px slategrey;
    position: relative;
    z-index: 10;
}



/*==== Admin Toolbar Style====*/

#title-box{
    border: 1px solid silver;
    background: #F4F4F4;
    border-radius: 5px;
    margin: 10px 0px 10px 0px;
}

#title-box .add_new_link{
    float: right;
    height: 32px;
    margin: 8px 20px 8px 10px;
}

.toolbar-list{
    float: left;
    margin: 0px 5px 0px 5px;
}

.icon-32-add{
    background: transparent url('../images/toolbar/icon-32-add.png') no-repeat;
}

.add_new_link a{
    font-size: 14px;
    margin: 0px 0px 0px 35px;
    display: block;
    line-height: 32px;
    font-weight: bold;
    color: lightskyblue;
}

#title-box .pagetitle{
    float: left;
}

.icon-48-assettype{
    background: transparent url('../images/toolbar/icon-48-assettype.png') no-repeat;
}

.icon-48-assetcategory{
    background: transparent url('../images/toolbar/icon-48-assetcategories.png') no-repeat;
}

div.pagetitle{

  height: 48px;
  color: deepskyblue;
  margin: 0px 0px 0px 10px;
}
div.pagetitle h2{
  font-size: 25px;
  margin: 15px 0px 0px 50px;
}




/*Message style*/

#system-message-container{
    padding: 0px 10px 0px 10px;
}

#system-message-container .info,#system-message-container .success,#system-message-container .warning,#system-message-container .error,#system-message-container .validation {
    border-bottom: 2px solid;
    border-top: 2px solid;
    margin: 10px 0px;
    padding:10px 10px 10px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    font-size: 12px;
    font-weight: bold;
}
#system-message-container .info {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url('../images/message/icon-info.png');
}
#system-message-container .success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image:url('../images/message/icon-success.png');
}
#system-message-container .warning {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url('../images/message/icon-warning.png');
}
#system-message-container .error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('../images/message/icon-error.png');
}


#system-message-container .validation {
    color: #D63301;
    background-color: #FFCCBA;
    background-image: url('../images/message/icon-error.png');
}

#system-message-container .validation ul,#system-message-container .error ul{
    padding: 0px 0px 0px 10px;
}

ul.adminformlist input.error, ul.adminformlist textarea.error{
    border: 1px solid red;
    width: auto;
}

ul.adminformlist input.valid,
ul.adminformlist textarea.valid{
    background: white url('../images/ok.png') right no-repeat ;

}

ul.adminformlist span.error{
    float: left;
    margin: 7px 5px 5px 2px;
    color: red;
    font-size: 11px;
    font-weight: bold;
}

ul.sub_adminformlist li span.error{
    float: right;
    margin: 2px 0px 0px 2px;
    color: red;
    font-size: 11px;
    font-weight: bold;
    clear: right;
}


ul.sub_adminformlist{
    position: relative;
    float: left;
}

ul.sub_adminformlist li{
/*    position: relative;*/
    margin: 7px 5px 5px 2px;

}

ul.sub_adminformlist li input{
    float: left;
    margin: 0px 0px 0px 0px;
}



ul.sub_adminformlist li span{
/*    border: 1px solid blue;*/
    display: block;
    float: left;
    font-size: 14px;
    margin: 0 5px;
    min-width: 140px;
    padding: 0;

}


ul.sub_adminformlist li input.sub_input{
    background-color: #D5EEFF;
    float: none;
    margin: -3px 0px;
    position: relative;
}



/*ADmin form*/
div#filter-bar{
    border: 0;
    color: black;
    min-height: 35px;
    margin: 0px 0px 10px 0px;
    padding: 5px 5px 5px 5px;
    text-align: left;
}

#filter-bar label{
  font-size: 12pt;
  display: block;
  float: left;
  clear: none;
  margin-left: 5px;
}

#filter-bar input, #filter-bar select, #filter-bar button {
  float: left;
  margin: 0px 5px 5px 0px;
  width: auto;
}

#filter-bar input, #filter-bar select{
  border: 1px solid silver;
  font-size: 9pt;
}

.filter-search{
  float: left;
}

.filter-select{
  float: right;
}

.filter-select input,
.filter-select select{
  margin: 0px 5px 0px 5px;
  width: auto;
  float: left;
}






table.adminlist{
    border: 1px solid silver;
    background-color: #f3f3f3;
    color: #666666;
    width: 100%;
}

table.adminlist th,table.adminlist td{
    border: 1px solid silver;

}

table.adminlist th{
    background-color: #BDE5F8;
    border-bottom: 2px solid black;
    font-size: 14px;
}

table.adminlist td{
    padding: 5px 5px 5px 5px;
    font-size: 13px;
}


.btndel{
    border: 1px solid silver;
    margin: 5px 0px 0px 0px;
    background-color: #00529B;
    color: #fefefe;
}

#main > #module_title{
    margin: 0px 0px 10px 0px;
    border-collapse: collapse;
}

#module_title{
    border: 1px solid silver;
    background: deepskyblue;
    margin: 10px;
    padding: 10px 0px 10px 10px;

}

#module_title span{
      font-size: 25px;
      color: #CB0000;
      margin-left: 10px;
      font-weight: bold;

}

#adminForm_title{
    border: 1px solid silver;
    background: gray;
    margin: 10px 10px 0px 10px;
    padding: 5px 5px 5px 5px;
    border-collapse: collapse;
}

#adminForm_title span{
    font-size: 18px;
    color: #FEFEFE;
    margin-left: 5px;
    font-weight: bold;
}

.width-100{
    width: 100%;
}

div.width-100 fieldset{
    background-color: #FEFEFE;
    padding: 15px 15px 15px;
}

fieldset.adminform{
    margin: 0px 10px 10px 10px;
    overflow: hidden;
    border: 1px solid silver;
}

ul.adminformlist label{
    min-width: 150px;
    float: left;
    clear: left;
    display: block;
    margin: 5px 0px;
}

ul.adminformlist input, ul.adminformlist textarea, ul.adminformlist select{
    font-size: 13px;
    background-color: #d5eeff;
    float: left;
    margin: 5px 5px 5px 0px;
    width: auto;
    border: 1px solid silver;
    position: relative;
    padding: 5px 5px 5px 5px;
}

ul.adminformlist input[readonly="readonly"] {
    background-color: #F0F0F0;
    color: #bbbbbb;
}

ul.adminformlist select{
    width: 225px;
}

.star{
    color: #eb8207;
    font-size: 12px;
}

ul.adminformlist, ul.adminformlist li{
    list-style: none outside none;
}

.adminfor-btn{
    border: 1px solid silver;
    min-width: 80px;
    margin: 5px 10px 5px 0px;
    font-weight: bold;
}


/*footer*/
#footer{
    padding: 10px 0px 0px 0px;

}

#footer .copyright{
  text-align: center;
  padding: 0px 0px 5px 0px;
  font-size: 13px;
  font-family: "Comic Sans MS", cursive;
}

#footer .copyright a{
  color: blue;
}


/*=====Toolbar Icon Style====*/
.toolbar-32-new{

}

.button_export{
    text-align: center;
}

.button_export input{
    padding: 5px 5px 5px 5px;
    font-size: 15px;
    min-width: 150px;
    border: 1px solid red;
    background: #AFDEF8;
    color: black;
    font-weight: bold;
}



table.tlb_export{
    width: 80%;
    font-size: 20px;
    text-align: left;
    margin: 0px auto 20px;
}

table.tlb_export td{
    margin: 20px 0px 0px 0px;
    padding: 20px 0px 0px 0px;
    width: auto;


}

table.tlb_export input{
    font-size: 20px;

}

table.tlb_export select{
    font-size: 20px;

}

table.tlb_export .button{
    text-align: center;
}

table.tlb_export .button input{
    min-width: 120px;
    border: 1px solid silver;
    background: grey;
    color: lightskyblue;
    font-weight: bold;
    padding: 5px 5px 5px 5px;

}

.searchform {
}
.lbl-search, .txt-search {
    float: left;
    font: bold 16px "lucida sans","trebuchet MS","Tahoma";
    height: 14px;
    padding: 10px 5px;
}
.txt-search {
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 1px #ddd inset, 0 1px 0 #fff;

    width: 330px;
}

.btn-search {
    background-color: #0483a0;
    background-image: -moz-linear-gradient(center top , #31b2c3, #0483a0);
    border: 1px solid #00748f;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 #fff;
    color: #fafafa;
    cursor: pointer;
    float: left;
    font: bold 15px Arial,Helvetica;
    height: 36px;
    padding: 0;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    width: 100px;
}

.good_status {
    font-weight: bold;
    color: green;
}
.bad_status {
    font-weight: bold;
    color: red;
}